package cn.iocoder.yudao.module.product.controller.admin.skuofferpricerelation.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - sku与报价关系分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SkuOfferPriceRelationPageReqVO extends PageParam {

    @Schema(description = "商品id", example = "32745")
    private Long skuId;

    @Schema(description = "统一定价", example = "17442")
    private Integer price;

    @Schema(description = "退残价", example = "8251")
    private Integer incompletePrice;

    @Schema(description = "退残价是否启用（false未启用，ture已启用）")
    private Boolean enable;

    @Schema(description = "生效时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] effectiveTime;

    @Schema(description = "是否立即生效（false 未立即生效，true立即生效）")
    private Boolean effective;

    @Schema(description = "当前标识（0当前标识(使用)，1未使用,2往期）")
    private Integer currentMark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}